<?php
$search = isset($search) ? str_replace('\\', '', $search) : '';
$year_combo = isset($year_combo) ? $year_combo : NULL;
$month_combo = isset($month_combo) ? $month_combo : NULL;
$day_combo = isset($day_combo) ? $day_combo : NULL;
?>
<div class="filter">
    <br style="clear: both;" />

    <?php
    echo form_open('invoice-admin');
    echo '&nbsp;' . __('year') . '&nbsp;' . $year_combo . '&nbsp;';
    echo '&nbsp;' . __('month') . '&nbsp;' . $month_combo . '&nbsp;';
    echo '&nbsp;' . __('day') . '&nbsp;' . $day_combo . '&nbsp;';
    echo form_input(array('name' => 'search', 'size' => 30, 'value' => $search)) . '&nbsp;';
    echo form_submit('btnSubmit', __('submit'));
    echo form_close();
    ?>

    <div style="clear: both;">&nbsp;</div>
</div>
